/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.mine.contract;

import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.liebang.entity.bo.AddTopicBo;
import com.yiqi.liebang.entity.bo.UserCardBo;
import com.yiqi.liebang.entity.bo.UserParamBo;

import io.reactivex.Observable;

/**
 * LIJUWEN
 *
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:06
 */
public interface TopicContract {

    interface Model {

        Observable<String> userAddTopic(AddTopicBo addTopicBo);

        Observable<String> userEditTopic(AddTopicBo addTopicBo);

    }

    interface View extends BaseView {


        void showAddTopicSuccess();


        void showError(String error);

    }


    interface Presenter extends BasePresenter {


        void userAddTopic(String topicName,
                          String serviceType,
                          String serviceTime,
                          double topicPrice,
                          double originalPrice,
                          String serviceIn,
                          String Remarks
        );


        void userEditTopic(
                String id,
                String topicName,
                String serviceType,
                String serviceTime,
                double topicPrice,
                double originalPrice,
                String serviceIn,
                String Remarks
        );
    }
}
